<h1>Editing score</h1>

<%= error_messages_for :score %>

<% form_for(@score) do |f| %>
  <p>
    <b>Player</b><br />
    <%= f.text_field :player %>
  </p>

  <p>
    <b>Game</b><br />
    <%= f.text_field :game %>
  </p>

  <p>
    <b>Score</b><br />
    <%= f.text_field :score %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @score %> |
<%= link_to 'Back', scores_path %>
